package com.lsh.dao;

import com.lsh.entity.QueryPageBean;
import com.lsh.pojo.Course;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CourseDao {
    void addCourse(Course course);
    List<Course> findCourse(QueryPageBean queryPageBean);
    void update(Course course);

    void delete(Integer id);
    @Select("select * from t_course where isShow = #{status}")
    List<Course> findAll(Integer status);
}
